<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>上传附件</title>
		<link type="text/css" href="${ctx }/scripts/plugins/autocomplete/css/jquery.autocomplete.css" rel="stylesheet" />
		<script type="text/javascript" src="${ctx }/scripts/plugins/autocomplete/js/jquery.autocomplete.js"></script>
		<script type="text/javascript">		
			$(document).ready(function(){
				$("#submitForm").click(function (){				
					$("#uploadAttachment").submit();
				});	
			});
		</script>
	</head>
	<body>
		<div class="container_16">
			<div class="grid_16">				
				<div class="content_bottom">
					<s:form action="uploadAttachment" id="uploadAttachment" method="post" namespace="/attachment" enctype="multipart/form-data">
						<input type="hidden" name="owenId" value="${owenId }">
						<input type="hidden" name="owenType" value="${owenType }">
						<table style="text-align: center;">
							 <tr >
					            <td >
					            	<select>
										<option>文书任务</option>
									</select>
								</td>
							</tr>
							<tr>
								<td>
									角色:用户名 &nbsp; 2012-06-26
									<br/>
									上传文书:  &nbsp;<a href="#">下载</a>								
								</td>
							</tr>
							<tr>	
					            <td ><s:file id="upload" name="upload" onkeydown="return false"></s:file></td>
					        </tr>
					        <tr>
					        	<td>
					        		<s:submit value="上传" id ="submitForm"></s:submit>
					        	</td>
					        </tr>
						</table>
					</s:form>
				</div>
			</div>		
		</div>
	</body>
</html>
